﻿using DeviceMaintainGIS.Model.LocaManagerTab;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceMaintainGIS.Model.LocaInfo
{
    /// <summary>
    /// 基站信息表
    /// </summary>
    public class LocaInfoModel
    {
        /// <summary>
        /// 基站ID
        /// </summary>
        public string LocaId { get; set; }
        /// <summary>
        /// 基站名称
        /// </summary>
        public string LocaName { get; set; }
        /// <summary>
        /// 基站类型编号
        /// </summary>
        public string LocaTypeId { get; set; }

        /// <summary>
        /// 基站类型名称
        /// </summary>
        public string LocaTypeName { get; set; }

        /// <summary>
        /// 站高
        /// </summary>
        public decimal LocaHigh { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Describe { get; set; }
        /// <summary>
        /// 链路方式
        /// </summary>
        public int Link { get; set; }
        /// <summary>
        /// 供电方式
        /// </summary>
        public int PowerMode { get; set; }
        /// <summary>
        /// 区县
        /// </summary>
        public string District { get; set; }
        /// <summary>
        /// 乡镇
        /// </summary>
        public string Town { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public decimal Longitude { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public decimal Latitude { get; set; }
        /// <summary>
        /// 海拔
        /// </summary>
        public decimal Altitude { get; set; }
        /// <summary>
        /// 导航经度
        /// </summary>
        public decimal NaviLongitude { get; set; }
        /// <summary>
        /// 导航纬度
        /// </summary>
        public decimal NaviLatitude { get; set; }
        /// <summary>
        /// 停车经度
        /// </summary>
        public decimal StopLongitude { get; set; }
        /// <summary>
        /// 停车纬度
        /// </summary>
        public decimal StopLatitude { get; set; }
        /// <summary>
        /// 周边村落
        /// </summary>
        public string Village { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public System.DateTime AddTime { get; set; }

        public string LocaManagerTablJson { get; set; }
        /// <summary>
        /// 是否有资料信息
        /// </summary>
        public bool IsDocument { get; set; }
        /// <summary>
        /// 是否有项目信息
        /// </summary>
        public bool IsPro { get; set; }
        /// <summary>
        /// 是否有设备信息
        /// </summary>
        public bool IsDev { get; set; }
        ///// <summary>
        ///// 基站负责人
        ///// </summary>
        //public string LocaManager { get; set; }
        ///// <summary>
        ///// 联系电话
        ///// </summary>
        //public string Tel { get; set; }
        //public List<LocaManagerModel> LocaManagerTablJson { get; set; }
    }
    /// <summary>
    /// 基站扩展信息
    /// </summary>
    public class LocaInfoExtendModel: LocaInfoModel
    {
        /// <summary>
        /// 出库类型ID
        /// </summary>
        public string CodeId { get; set; }
        /// <summary>
        /// 出库途径编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string DeviceId { get; set; }
        /// <summary>
        /// 设备等级
        /// </summary>
        public int DeviceLevel { get; set; }

    }
}
